package com.jx.springcloud.controller;

import com.jx.springcloud.service.Ioutput;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class SendControl {
    @Resource
    private Ioutput outputService;

    @GetMapping("/sendMessage")
    public String sendMessage(){
        return outputService.send();
    }
}
